#ifndef __my_socket_h__   
#define __my_socket_h__   

#include <QThread>   
#include <QTcpSocket>
#include <QFile>

class ChatServer;
static int MYcount=0;
class MySocket:public QTcpSocket   
{   
	Q_OBJECT   
public:   
	MySocket(int iSize=1024,QObject *parent = NULL);   
	~MySocket();
	private slots:
		void onReadyRead();
private:
	int m_isize;
	QFile *mFile;
	
	
};

#endif //__my_socket_h__